Multilevel Data Compression Using a Single Compression Engine

ABSTRACT

A single compression engine transmits first and second discrete cosine transform (DCT)-encoded signals. The first DCT-encoded signal uses at most t coefficient bits to represent each of a plurality of DCT coefficients. The second DCT-encoded signal uses at most u coefficient bits, where u is less than t, to represent each of the plurality of DCT coefficients.

RELATED APPLICATIONS

The present patent application is a continuation of U.S. patent application Ser. No. 11/710,721, filed Feb. 26, 2007; which is a continuation of U.S. patent application Ser. No. 10/037,453, filed Dec. 20, 2001 (now U.S. Pat. No. 7,197,077), the entirety of which are both hereby incorporated by reference.

BACKGROUND

1. Field of the Invention

The present invention relates to compression methods and systems.

2. Description of the Related Art

Mathematical transformations are used in compression systems to represent audio data and/or picture data in a more efficient manner. A widely-used mathematical transformation is the Discrete Cosine Transform (DCT). To provide a substantially-identical representation of a 270 Mb/s CCIR (Comite Consultatif International des Radiocommunications) 601 video stream, a calculation accuracy of about 13 bits to 14 bits may be required. Compression of the video stream may be achieved by discarding lesser significant bits or using fewer bits. Thus, the level of compression is directly tied to the number of places of accuracy maintained throughout the process of calculating the DCT.

Previous approaches to compressing a DCT representation include allocating unequal numbers of bits for the transform coefficients. The number of bits allocated to a transform coefficient may be based upon a variance of the transform coefficient. In this way, more bits are allocated to widely-varying coefficients than for lesser-varying coefficients.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is pointed out with particularity in the appended claims. However, other features are described in the following detailed description in conjunction with the accompanying drawings in which:

FIG. 1 is a block diagram of an embodiment of a system for providing a plurality of compression levels using a single compression engine; and

FIG. 2 is a flow chart of an embodiment of a method of providing a plurality of compression levels using a single compression engine.

DETAILED DESCRIPTION OF THE DRAWINGS

Disclosed herein are a method and a system which provide a plurality of levels of compression using a single compression engine. The single compression engine produces a plurality of encoded versions of a set of data, such as audio data and/or video data. Each encoded version has its own data rate. This enables data links of various bandwidths to use the same compression engine at various data rates and quality levels. For example, both a 6 Mb/s data link and a 3 Mb/s data link could be generated using the same audio and/or video compression engine.

Embodiments of the present invention are described with reference to FIG. 1, which is a block diagram of an embodiment of a system for providing a plurality of compression levels using a single compression engine 10, and FIG. 2, which is a flow chart of an embodiment of a method of providing a plurality of compression levels using the single compression engine 10. The compression engine 10 may be embodied by a general purpose computer system to perform the acts described herein. The computer system may be directed by computer-readable program code stored by a computer-readable medium. Alternatively, the compression engine 10 may be embodied by an application-specific device.

As indicated by block 12, the method comprises determining a DCT of a block of data 14. For purposes of illustration and example, the block of data 14 comprises an 8-by-8 block of pixels represented by x(i, j), where index values i and j range from 0 to 7. It is noted, however, that the teachings herein also are applicable to blocks of data having widths other than 8-by-8, to data which may not represent video information, and to blocks of data having one dimension or more than two dimensions. A two-dimensional DCT of the block of data can be found using the following formula:

${Z\left( {k,l} \right)} = {\frac{1}{4}C_{K}C_{t}{\sum\limits_{i = 0}^{7}\; {\sum\limits_{j = 0}^{7}\; {{x\left( {i,j} \right)}\cos \frac{{\pi \left( {{2i} + 1} \right)}k}{16}\cos \frac{{\pi \left( {{2j} + 1} \right)}l}{16}}}}}$

where Z(k,l) represents the DCT coefficient for index values of k and l, C_(k) and C_(l) are index-dependent constants, and the index values of k and l range from 0 to 7.

As indicated by block 16, the method comprises representing each DCT coefficient by a corresponding series of t coefficient bits, where t is an integer greater than or equal to zero. The t coefficient bits for a DCT coefficient are represented by a₁, a₂, . . . , a_(t). Thus, a DCT coefficient Z is related to its corresponding t coefficient bits as follows:

$Z = {\sum\limits_{m = 1}^{t}{a_{m}2^{n - 1 - m}}}$

where n is a constant selected such that 2 _(n) provides a suitable most-significant bit value.

An initial calculation of the DCT coefficients may be performed with t=13 or t=14 so that 13 or 14 bits are used to represent each DCT coefficient. This number is typically set by either a fixed number or an upper bound.

The acts indicated by blocks 12 and 16 can be repeated for other blocks of data 20, e.g. other blocks of pixels in a picture, and/or other blocks of pixels in other pictures in a video sequence.

As indicated by block 22, the method comprises providing a first DCT-encoded signal 24 which uses at most t coefficient bits to represent each DCT coefficient. The first DCT-encoded signal 24 may comprise a bit stream or other form of signal which encodes the at most t coefficient bits to represent each DCT coefficient. Optionally, each DCT coefficient is represented by t coefficient bits.

As indicated by block 26, the method comprises providing a second DCT-encoded signal 30 which uses fewer than t coefficient bits to represent each DCT coefficient. The maximum number of coefficient bits to represent each DCT coefficient in the second DCT-encoded signal 30 is denoted by u. The number of bits/coefficient may be reduced by removing at least one lesser-significant bit from each of the DCT coefficients represented by t coefficient bits. Alternatively, the number of bits/coefficient may be reduced by removing at least one lesser-significant bit from each of the DCT coefficients. The second DCT-encoded signal 30 may comprise a bit stream or other form of signal which encodes the at most u coefficient bits to represent each DCT coefficient.

Optionally, one or more additional DCT-encoded signals are provided which use fewer than t coefficient bits to represent each DCT coefficient. For example, as indicated by block 32, the method may comprise providing a third DCT-encoded signal 34 which uses fewer than u coefficient bits to represent each DCT coefficient. The maximum number of coefficient bits to represent each DCT coefficient in the third DCT-encoded signal 34 is denoted by v. The number of bits/coefficient may be reduced by removing at least two lesser-significant bits from each of the DCT coefficients represented by t coefficient bits. Alternatively, the number of bits/coefficient may be reduced by removing at least two lesser-significant bits from each of the DCT coefficients.

Each DCT-encoded signal may be provided to a corresponding data communication link. For example, the first DCT-encoded signal 24 is provided to a first data communication link 36 having a first bandwidth A, the second DCT-encoded signal 30 is provided to a second data communication link 40 having a second bandwidth B, and the third DCT-encoded signal 34 is provided to a third data communication link 42 having a third bandwidth C. The first bandwidth A is greater than the second bandwidth B, and the second bandwidth B is greater than the third bandwidth C.

Preferably, the DCT-encoded signals 24, 30 and 34 are concurrently communicated via the data communication links 36, 40 and 42, respectively. Optionally, the DCT-encoded signals 24, 30 and 34 are substantially synchronized to provide a substantially similar (other than the level of compression and the data rate) broadcast to recipients thereof.

As stated above, a greater number of coefficient bits produces less compression. By selecting the number of coefficient bits to be sent, a level of compression can be determined. For example, a network distribution center may need the full bandwidth provided by the first DCT-encoded signal 24 which results from an upper bound of coefficient bits of 13 or 14. The network distribution center communicates the first DCT-encoded signal 24 via the data communication link 36 having a high bandwidth. The compression engine 10 may further supply separate data streams having fewer coefficient bits in order to fit the streams in data links of different capacity. For example, one user may choose the data communication link 42 having a very low bit rate to communicate the third DCT-encoded signal 34. Another user may have access to the data communication link 40 having a higher bandwidth, thus enabling a higher quality bit rate version such as the second DCT-encoded signal 30 to be communicated. In general, each customer can individually choose the compression level that fits its technical and/or economic situation.

The DCT-encoded signals 24, 30 and 34 are received and decoded by receiver/decoders 44, 46 and 50, respectively. The present application contemplates each of the receiver/decoders 44, 46 and 50 comprising a decompression engine capable of decompressing DCT-encoded signals at different numbers of bits/coefficient and multiple transmission rates. Use of compression-decompression (codecs) devices capable of working at multiple transmission rates using the same algorithm eliminates multiple codecs for multiple services, which reduces both cost and network complexity.

As video networks move from specialized overlay networks to more general data networks, issues such as maintaining end-user-to-end-user compatibility will remain of interest from both a legacy compatibility perspective and an economic perspective. It is believed that the techniques described herein will aid in the transition by providing a single compression method that can deliver multiple levels of compression over data networks.

It will be apparent to those skilled in the art that the disclosed inventions may be modified in numerous ways and may assume many embodiments other than the preferred forms specifically set out and described herein. For example, the teachings herein can be extended to other transforms used in transform coding. Further, the herein-described base-2 representation of the coefficients may be modified to other base values, e.g. base-10 or base-16, In these cases, the am values may assume values other than 0 and 1, e.g. 0 to 9 for base-10 and 0 to F for base-16.

Accordingly, it is intended by the appended claims to cover all modifications which fall within the true spirit and scope of the present invention. 

1-22. (canceled)
 23. A method comprising: transmitting a first discrete cosine transform (DCT)-encoded signal which uses at most t coefficient bits per coefficient to represent a plurality of DCT coefficients; transmitting a second DCT-encoded signal which uses at most u coefficient bits per coefficient, wherein u is less than t, to represent the plurality of DCT coefficients by removing at least one lesser-significant bit from the DCT coefficients having t coefficient bits; wherein a single compression engine transmits the first DCT-encoded signal and the second DCT-encoded signal at substantially the same time; and determining the plurality of DCT coefficients based on a discrete cosine transform of a plurality of blocks of data.
 24. The method of claim 23, further comprising: transmitting a third DCT-encoded signal which uses at most v coefficient bits per coefficient to represent the plurality of DCT coefficients by removing at least two lesser-significant bits from the DCT coefficients having t coefficient bits; wherein v is less than u.
 25. The method of claim 23 wherein the first DCT-encoded signal uses t coefficient bits per coefficient to represent the plurality of DCT coefficients, and wherein the second DCT-encoded signal uses u coefficient bits per coefficient to represent the plurality of DCT coefficients.
 26. The method of claim 23 wherein the first DCT-encoded signal is transmitted via a first data communication link having a first bandwidth, wherein the second DCT-encoded signal is transmitted via a second data communication link having a second bandwidth, and wherein the first bandwidth is greater than the second bandwidth.
 27. The method of claim 23 wherein the first DCT-encoded signal has a first data rate, wherein the second DCT-encoded signal has a second data rate, and wherein the first data rate is greater than the second data rate.
 28. The method of claim 23 wherein the first DCT-encoded signal and the second DCT-encoded signal are substantially synchronized.
 29. A non-transitory computer readable medium storing program instructions executable by a processor to perform operations, comprising: transmitting a first discrete cosine transform (DCT)-encoded signal which uses at most t coefficient bits per coefficient to represent a plurality of DCT coefficients; transmitting a second DCT-encoded signal which uses at most u coefficient bits per coefficient, wherein u is less than t, to represent the plurality DCT coefficients by removing at least one lesser-significant bit from the DCT coefficients having t coefficient bits; wherein a single compression engine provides the first DCT-encoded signal and the second DCT-encoded signal at substantially the same time; and determining the plurality of DCT coefficients based on a discrete cosine transform of a plurality of blocks of data.
 30. The computer readable medium of claim 29, wherein the first DCT-encoded signal uses t coefficient bits per coefficient to represent the plurality of DCT coefficients, and wherein the second DCT-encoded signal uses u coefficient bits per coefficient to represent the plurality of DCT coefficients.
 31. The computer readable medium of claim 29 wherein the first DCT-encoded signal is transmitted via a first data communication link having a first bandwidth, wherein the second DCT-encoded signal is transmitted via a second data communication link having a second bandwidth, and wherein the first bandwidth is greater than the second bandwidth.
 32. The computer readable medium of claim 29 wherein the first DCT-encoded signal has a first data rate, wherein the second DCT-encoded signal has a second data rate, and wherein the first data rate is greater than the second data rate.
 33. The computer readable medium of claim 29 wherein the first DCT-encoded signal and the second DCT-encoded signal are substantially synchronized.
 34. A computer system, comprising: a processor; and a computer readable medium to store program instructions, executable by the processor, to perform operations comprising: transmitting a first discrete cosine transform (DCT)-encoded signal which uses at most t coefficient bits per coefficient to represent a plurality of DCT coefficients and transmitting a second DCT-encoded signal which uses at most u coefficient bits per coefficient, wherein u is less than t, to represent the plurality of DCT coefficients by removing at least one lesser-significant bit from the DCT coefficients having t coefficient bits wherein transmitting the first DCT-encoded signal and transmitting the second DCT-encoded signal occur at substantially the same time; and determining the plurality of DCT coefficients based on a discrete cosine transform of a plurality of blocks of data.
 35. The system of claim 34, wherein the first DCT-encoded signal uses t coefficient bits per coefficient to represent the plurality of DCT coefficients, and wherein the second DCT-encoded signal uses u coefficient bits per coefficient to represent the plurality of DCT coefficients.
 36. The system of claim 34 wherein the first DCT-encoded signal is transmitted via a first data communication link having a first bandwidth, wherein the second DCT-encoded signal is transmitted via a second data communication link having a second bandwidth, and wherein the first bandwidth is greater than the second bandwidth.
 37. The system of claim 34 wherein the first DCT-encoded signal has a first data rate, wherein the second DCT-encoded signal has a second data rate, and wherein the first data rate is greater than the second data rate.
 38. The system of claim 34 wherein the first DCT-encoded signal and the second DCT-encoded signal are substantially synchronized. 